package service.brandService;

import org.apache.ibatis.annotations.Param;
import pojo.Brand;

import java.util.List;

public interface brandService {
    List<Brand> selectAll();
    void add(Brand brand);
    void deleteById(int id);
    Brand selectById(int id);
    void update(Brand brand);
    void deleteByIds(int[] ids);
    List<Brand> selectByPage(@Param("begin") int begin, @Param("size") int size);
    int selectTotal();
    List<Brand> selectByPageAndCondition( int begin, int size, Brand brand);
    int selectTotalByCondition(Brand brand);
}
